package dao;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;
import pojo.User;

@Repository
public class UserDaoImpl implements UserDao {

    @Override
    public void add(User user) {
        System.out.println("新增一个用户："+user);
    }

    @Override
    public void update(User user) {
        System.out.println("修改一个用户"+user);
    }

}
